package org.dynamic.job;

import java.util.Properties;

import org.dynamic.config.Application;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;

import com.defonds.scheduler.jobs.Hello;

@Component
public class ConfigPreResolverServer implements ApplicationListener<ContextRefreshedEvent>{

	@Override
	public void onApplicationEvent(ContextRefreshedEvent event) {
		
		/*System.out.println("ApplicationListener");
		Properties p = Application.getInstance().properties;
		System.out.println(p);*/
		//System.out.println(property);
	}

	

}
